package com.factory.design.pattern.factory;

import com.factory.design.pattern.query.AgentUserService;
import com.factory.design.pattern.query.AgentOrganizationService;

/**
 * 组件工厂
 *
 * @author Ldanniel
 */
public abstract class AbstractFactory {
    public AbstractFactory() {
    }


    /**
     * 创建代办人对象
     *
     * @return
     */
    abstract AgentUserService createAgentUser();

    /**
     * 创建机构信息对象
     *
     * @return
     */
    abstract AgentOrganizationService createOrganization();

}
